
package org.darcy.model;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.*;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.darcy.framework.model.PageParam;
import org.darcy.entity.SysConfig;

@ApiModel(": SysConfigModel")
@Getter
@Setter
public class SysConfigModel extends PageParam implements Serializable{
	
	private static final long serialVersionUID = 1L;
     
    @Id
    @Column(name = "ID")
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @ApiModelProperty(value="")
	private Integer id;
	
    @ApiModelProperty(value="配置关键字")
	private String configKey;
	
    @ApiModelProperty(value="配置项内容")
	private String configValue;
	
    @ApiModelProperty(value="添加时间")
	private Date createTime;
	
    @ApiModelProperty(value="更新时间")
	private Date updateTime;
	
    
    /**
   	 * model类转化为mybatis plus 查询条件
   	 */
   	public QueryWrapper<SysConfig> buildWrapper() {
   		QueryWrapper<SysConfig> p = new QueryWrapper<SysConfig>();
   		return p;
   	}

}
